# -*- coding: utf-8 -*-
#   __author__ = "Casey"     Email = 395280963qq.com
#   Data :2019/11/26  Python:3.7

import execjs

def main(pwd):
    """因本人实力有限，只解决了pwd的加密，其他请自行拓展
    :param pwd:
    :return:
    """
    with open('execute.js','r',encoding='utf-8') as f:
        js = execjs.compile(f.read().replace('\xa0',''))

    print('引擎',execjs.get().name)

    sign = js.call('get_pwd',pwd)
    return sign

if __name__ == '__main__':
    pwd = input('请输入你的密码：')
    print(main(pwd))
